<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<link rel="stylesheet" href="layui/css/layui.css">
</head>
<body>
  
  <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
  <legend>当前位置： 首页 | &nbsp ${worktitle }</legend>
</fieldset>   
<table class="layui-table" lay-even="" lay-skin="row">

     <thead>
     <tr>
        <th>题号</th>
        <th>作业题目名</th>
        <th>通过次数</th>
        <th>总提交次数</th>
        <th>最高得分</th>
        <th>操作</th>
      </tr>
      
      </thead>
      <tbody>
      
        <c:forEach var="questions" items="${questions }" varStatus="i"> 
         <tr>
            <td>${i.index+1 }</td>
            <td>
               ${questions.describe}
            </td>
            <td>${questions.pass}</td>
            <td>${questions.sub}</td>
            <td>${questions.maxgrade}</td>
            <td><a href="dati?questionid=${questions.questionid }&workid=${questions.workid}&testid=${testid}&worktitle=${worktitle }">进入答题</a></td>
         </tr>
      </c:forEach>
      
      </tbody>
   
   </table>
   <script src="layui/layui.js"></script>
  <!--  <script>
   //JavaScript代码区域
   layui.use('element', function(){
     var element = layui.element;
     
   });
  </script> -->
</body>
</html>